package com.jshan.blog.converts;

import com.jshan.blog.base.admin.dto.LoginAndRegisterDto;
import com.jshan.blog.base.admin.entity.SysUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SysUserAndDtoConvert {
    SysUserAndDtoConvert INSTANCE = Mappers.getMapper(SysUserAndDtoConvert.class);

    SysUser LoginDto2UserConvert(LoginAndRegisterDto loginAndRegisterDto);
}
